<?php

namespace App\Service\OpenShop\Merchant;

use App\Remote\Orm\OrmNewOrderRemote;
use App\Service\OpenShop\Feishu\KfosService;
use Illuminate\Http\Request;

class LogisticsService
{
    public static function detail(string $orderNo, int $shopId)
    {
        $firstDate = KfosService::firstDate($orderNo);
        $arr = OrmNewOrderRemote::merchantAppLogistics($shopId, $firstDate);
        return $arr['data'] ?? [];
    }
}
